Optimal. Leaf size=130 \[ -\frac {x \sqrt {-1+c x}}{b c \sqrt {1-c x} \left (a+b \cosh ^{-1}(c x)\right )}-\frac {\sqrt {-1+c x} \text {Chi}\left (\frac {a+b \cosh ^{-1}(c x)}{b}\right ) \sinh \left (\frac {a}{b}\right )}{b^2 c^2 \sqrt {1-c x}}+\frac {\sqrt {-1+c x} \cosh \left (\frac {a}{b}\right ) \text {Shi}\left (\frac {a+b \cosh ^{-1}(c x)}{b}\right )}{b^2 c^2 \sqrt {1-c x}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.12, antiderivative size = 130, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 5, integrand size = 26, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.192, Rules used = {5950, 5881,
3384, 3379, 3382} \begin {gather*} -\frac {\sqrt {c x-1} \sinh \left (\frac {a}{b}\right ) \text {Chi}\left (\frac {a+b \cosh ^{-1}(c x)}{b}\right )}{b^2 c^2 \sqrt {1-c x}}+\frac {\sqrt {c x-1} \cosh \left (\frac {a}{b}\right ) \text {Shi}\left (\frac {a+b \cosh ^{-1}(c x)}{b}\right )}{b^2 c^2 \sqrt {1-c x}}-\frac {x \sqrt {c x-1}}{b c \sqrt {1-c x} \left (a+b \cosh ^{-1}(c x)\right )} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 3379
Rule 3382
Rule 3384
Rule 5881
Rule 5950
Rubi steps
\begin {align*} \int \frac {x}{\sqrt {1-c^2 x^2} \left (a+b \cosh ^{-1}(c x)\right )^2} \, dx &=\frac {\left (\sqrt {-1+c x} \sqrt {1+c x}\right ) \int \frac {x}{\sqrt {-1+c x} \sqrt {1+c x} \left (a+b \cosh ^{-1}(c x)\right )^2} \, dx}{\sqrt {1-c^2 x^2}}\\ &=-\frac {x \sqrt {-1+c x} \sqrt {1+c x}}{b c \sqrt {1-c^2 x^2} \left (a+b \cosh ^{-1}(c x)\right )}+\frac {\left (\sqrt {-1+c x} \sqrt {1+c x}\right ) \int \frac {1}{a+b \cosh ^{-1}(c x)} \, dx}{b c \sqrt {1-c^2 x^2}}\\ &=-\frac {x \sqrt {-1+c x} \sqrt {1+c x}}{b c \sqrt {1-c^2 x^2} \left (a+b \cosh ^{-1}(c x)\right )}-\frac {\left (\sqrt {-1+c x} \sqrt {1+c x}\right ) \text {Subst}\left (\int \frac {\sinh \left (\frac {a}{b}-\frac {x}{b}\right )}{x} \, dx,x,a+b \cosh ^{-1}(c x)\right )}{b^2 c^2 \sqrt {1-c^2 x^2}}\\ &=-\frac {x \sqrt {-1+c x} \sqrt {1+c x}}{b c \sqrt {1-c^2 x^2} \left (a+b \cosh ^{-1}(c x)\right )}+\frac {\left (\sqrt {-1+c x} \sqrt {1+c x} \cosh \left (\frac {a}{b}\right )\right ) \text {Subst}\left (\int \frac {\sinh \left (\frac {x}{b}\right )}{x} \, dx,x,a+b \cosh ^{-1}(c x)\right )}{b^2 c^2 \sqrt {1-c^2 x^2}}-\frac {\left (\sqrt {-1+c x} \sqrt {1+c x} \sinh \left (\frac {a}{b}\right )\right ) \text {Subst}\left (\int \frac {\cosh \left (\frac {x}{b}\right )}{x} \, dx,x,a+b \cosh ^{-1}(c x)\right )}{b^2 c^2 \sqrt {1-c^2 x^2}}\\ &=-\frac {x \sqrt {-1+c x} \sqrt {1+c x}}{b c \sqrt {1-c^2 x^2} \left (a+b \cosh ^{-1}(c x)\right )}-\frac {\sqrt {-1+c x} \sqrt {1+c x} \text {Chi}\left (\frac {a+b \cosh ^{-1}(c x)}{b}\right ) \sinh \left (\frac {a}{b}\right )}{b^2 c^2 \sqrt {1-c^2 x^2}}+\frac {\sqrt {-1+c x} \sqrt {1+c x} \cosh \left (\frac {a}{b}\right ) \text {Shi}\left (\frac {a+b \cosh ^{-1}(c x)}{b}\right )}{b^2 c^2 \sqrt {1-c^2 x^2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.16, size = 107, normalized size = 0.82 \begin {gather*} \frac {\sqrt {1-c^2 x^2} \left (b c x+\left (a+b \cosh ^{-1}(c x)\right ) \text {Chi}\left (\frac {a}{b}+\cosh ^{-1}(c x)\right ) \sinh \left (\frac {a}{b}\right )-\left (a+b \cosh ^{-1}(c x)\right ) \cosh \left (\frac {a}{b}\right ) \text {Shi}\left (\frac {a}{b}+\cosh ^{-1}(c x)\right )\right )}{b^2 c^2 \sqrt {-1+c x} \sqrt {1+c x} \left (a+b \cosh ^{-1}(c x)\right )} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(280\) vs.
\(2(118)=236\).
time = 2.95, size = 281, normalized size = 2.16
method | result | size |
default | \(-\frac {\sqrt {-c^{2} x^{2}+1}\, \left (-\sqrt {c x +1}\, \sqrt {c x -1}\, x c +c^{2} x^{2}-1\right )}{2 c^{2} \left (c^{2} x^{2}-1\right ) b \left (a +b \,\mathrm {arccosh}\left (c x \right )\right )}-\frac {\left (\sqrt {c x +1}\, \sqrt {c x -1}\, x c +c^{2} x^{2}-1\right ) \sqrt {-c^{2} x^{2}+1}\, \expIntegral \left (1, \mathrm {arccosh}\left (c x \right )+\frac {a}{b}\right ) {\mathrm e}^{\frac {-b \,\mathrm {arccosh}\left (c x \right )+a}{b}}}{2 b^{2} \left (c^{2} x^{2}-1\right ) c^{2}}+\frac {\sqrt {-c^{2} x^{2}+1}\, \sqrt {c x -1}\, \sqrt {c x +1}\, \left (\mathrm {arccosh}\left (c x \right ) {\mathrm e}^{-\frac {a}{b}} \expIntegral \left (1, -\mathrm {arccosh}\left (c x \right )-\frac {a}{b}\right ) b +\sqrt {c x +1}\, \sqrt {c x -1}\, b +{\mathrm e}^{-\frac {a}{b}} \expIntegral \left (1, -\mathrm {arccosh}\left (c x \right )-\frac {a}{b}\right ) a +b c x \right )}{2 c^{2} \left (c^{2} x^{2}-1\right ) b^{2} \left (a +b \,\mathrm {arccosh}\left (c x \right )\right )}\) | \(281\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x}{\sqrt {- \left (c x - 1\right ) \left (c x + 1\right )} \left (a + b \operatorname {acosh}{\left (c x \right )}\right )^{2}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {x}{{\left (a+b\,\mathrm {acosh}\left (c\,x\right )\right )}^2\,\sqrt {1-c^2\,x^2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________